package com.lechuang.member.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lechuang.member.dto.MemberListDto;
import com.lechuang.member.dto.MemberRequestDto;
import com.lechuang.member.dto.SaveMemberDto;
import com.lechuang.member.entity.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lechuang.member.vo.MemberListVo;
import org.apache.ibatis.annotations.Param;

/**
* @author apple
* @description 针对表【member(会员信息表)】的数据库操作Mapper
* @createDate 2024-06-22 11:43:19
* @Entity com.lechuang.member.entity.Member
*/
public interface MemberMapper extends BaseMapper<Member> {

    Page<MemberListVo> pageList(@Param("page") Page<Member> page, @Param("dto") MemberListDto memberListDto);

    MemberListVo queryDetailById(@Param("dto") MemberRequestDto memberRequestDto);

    void updateByUserId(Member member);
}




